﻿using B.S.Medical.ErrorCode;
using MediatR;

namespace B.S.Medical.Api.Write.Application.Command.Patient
{
    public class AddPatientCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 关系（如：本人、家属）
        /// </summary>
        public string? Relation { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string? IdCardType { get; set; }

        /// <summary>
        /// 证件号码
        /// </summary>
        public string? IdCard { get; set; }
        /// <summary>
        /// 就诊卡号
        /// </summary>
        public string? PatientId { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long AccountId { get; set; }


    }
}
